* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: Arial, Helvetica, sans-serif;
}

body {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(to right bottom, #1e3c72, #2a5298);
}

.quiz-container {
  max-width: 800px;
  width: 90%;
  background-color: white;
  border-radius: 10px;
  padding: 20px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
}

.quiz {
  padding: 20px 0;
}

.question-container {
  margin-bottom: 20px;
}

.question {
  display: flex;
  align-items: center;
  margin-bottom: 20px;
}

.question i {
  font-size: 30px;
  margin-right: 10px;
  color: #2a5298;
}

.question h1 {
  font-size: 20px;
  color: #333;
}

.scores {
  text-align: right;
  font-size: 18px;
  font-weight: bold;
  color: #2a5298;
}

hr {
  border: none;
  height: 1px;
  background-color: #ddd;
  margin: 20px 0;
}

.option-container {
  list-style: none;
}

.option-item {
  background-color: #f8f9fa;
  /* border: 1px solid #ddd; */
  border-radius: 5px;
  margin-bottom: 10px;
  padding: 10px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.option-item:hover {
  background-color: #e9ecef;
  box-shadow: 4px 4px 7px rgba(0, 0, 0, 0.559);
}

.option-item input[type="radio"] {
  display: none;
}

.option-item label {
  display: flex;
  align-items: center;
  cursor: pointer;
}

.option-item label i {
  margin-right: 10px;
  color: #2a5298;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.option-item input[type="radio"]:checked + label i {
  opacity: 1;
}

.quiz-result , .option {
  text-align: center;
  padding: 20px;
}

.quiz-result .result-icon {
  font-size: 60px;
  color: #ffd700;
  margin-bottom: 20px;
}

.quiz-result h2 {
  color: #2a5298;
  margin-bottom: 15px;
}

.quiz-result .final-score {
  font-size: 24px;
  color: #333;
  margin-bottom: 20px;
}

.quiz-result .score-details {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 15px;
  margin-bottom: 25px;
}

.quiz-result .correct-icon {
  color: #28a745;
}

.quiz-result .wrong-icon {
  color: #dc3545;
}

.quiz-result .restart-btn {
  background-color: #2a5298;
  color: white;
  border: none;
  padding: 12px 25px;
  border-radius: 5px;
  cursor: pointer;
  font-size: 16px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.3s ease;
}

.quiz-result .restart-btn:hover {
  background-color: #1e3c72;
  transform: scale(1.05);
}

.quiz-result .restart-btn i {
  font-size: 18px;
}
.button-container {
  text-align: center;
  margin-top: 20px;
}

.submit  , #restartQuiz{
  background-color: #2a5298;
  color: white;
  border: none;
  padding: 10px 20px;
  border-radius: 5px;
  cursor: pointer;
  font-size: 16px;
  transition: background-color 0.3s ease;
}

.submit:hover {
  background-color: #1e3c72;
}

.submit i {
  margin-right: 5px;
}
